namespace SinaFinance
{
    using System;
    using System.Diagnostics;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Input;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;

    public partial class select : UserControl
    {
        //private bool _contentLoaded;
        //internal Canvas bg;
        //internal Grid border;
        //internal ListBox listBox;
        //internal ListBoxItem listBoxItem;
        //internal ListBoxItem listBoxItem1;
        //internal ListBoxItem listBoxItem2;
        //internal ListBoxItem listBoxItem3;
        //internal ListBoxItem listBoxItem4;
        //internal ListBoxItem listBoxItem5;
        //internal ListBoxItem listBoxItem6;
        //internal ListBoxItem listBoxItem7;
        //internal ListBoxItem listBoxItem8;
        //internal Storyboard navMouse;
        //internal Storyboard navMouse_Copy1;
        //internal Path path3;
        //internal Rectangle up;
        //internal Border upborder;
        //internal Storyboard upMouseEnter;
        //internal Storyboard upMouseEnter_Copy1;

        public select()
        {
            this.InitializeComponent();
            this.navMouse.Begin();
            this.up.MouseLeftButtonDown += new MouseButtonEventHandler(this.up_MouseLeftButtonDown);
            this.up.MouseEnter += new MouseEventHandler(this.up_MouseEnter);
            this.up.MouseLeave += new MouseEventHandler(this.up_MouseLeave);
        }

        //[DebuggerNonUserCode]
        //public void InitializeComponent()
        //{
        //    if (!this._contentLoaded)
        //    {
        //        this._contentLoaded = true;
        //        Application.LoadComponent(this, new Uri("/SinaFinance;component/select.xaml", UriKind.Relative));
        //        this.navMouse = (Storyboard) base.FindName("navMouse");
        //        this.upMouseEnter = (Storyboard) base.FindName("upMouseEnter");
        //        this.upMouseEnter_Copy1 = (Storyboard) base.FindName("upMouseEnter_Copy1");
        //        this.navMouse_Copy1 = (Storyboard) base.FindName("navMouse_Copy1");
        //        this.border = (Grid) base.FindName("border");
        //        this.bg = (Canvas) base.FindName("bg");
        //        this.upborder = (Border) base.FindName("upborder");
        //        this.path3 = (Path) base.FindName("path3");
        //        this.up = (Rectangle) base.FindName("up");
        //        this.listBox = (ListBox) base.FindName("listBox");
        //        this.listBoxItem = (ListBoxItem) base.FindName("listBoxItem");
        //        this.listBoxItem1 = (ListBoxItem) base.FindName("listBoxItem1");
        //        this.listBoxItem2 = (ListBoxItem) base.FindName("listBoxItem2");
        //        this.listBoxItem3 = (ListBoxItem) base.FindName("listBoxItem3");
        //        this.listBoxItem4 = (ListBoxItem) base.FindName("listBoxItem4");
        //        this.listBoxItem5 = (ListBoxItem) base.FindName("listBoxItem5");
        //        this.listBoxItem6 = (ListBoxItem) base.FindName("listBoxItem6");
        //        this.listBoxItem7 = (ListBoxItem) base.FindName("listBoxItem7");
        //        this.listBoxItem8 = (ListBoxItem) base.FindName("listBoxItem8");
        //    }
        //}

        private void up_MouseEnter(object sender, MouseEventArgs e)
        {
            this.upMouseEnter.Begin();
        }

        private void up_MouseLeave(object sender, MouseEventArgs e)
        {
            this.upMouseEnter_Copy1.Begin();
        }

        private void up_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.navMouse_Copy1.Begin();
        }
    }
}
